package DP.command.common.comm.impl;

import DP.command.common.receiver.Receiver;
import DP.command.common.comm.Command;

/**
 * @author msi
 * 具体的Command类
 */
public class ConcreteCommand2 extends Command {

    private Receiver receiver;

    public ConcreteCommand2(Receiver receiver){
        this.receiver=receiver;
    }

    @Override
    public void execute() {
        this.receiver.doSomething();
    }
}
